import { request } from "@/utils/service"

/** 增 */
export function postMsg(data: any) {
  return request({
    url: "/offersUser/add",
    method: "put",
    data
  })
}
/** 增 */
export function postRemark(data: any) {
  return request({
    url: "/offersUser/update",
    method: "post",
    data
  })
}
/** 查 */
export function getMsg(params: any) {
  return request({
    url: "/offersUser/query",
    method: "get",
    params
  })
}

/** 根据H5套餐/产品id查询详情 */
export function getComboDetail(params: any) {
  return request<any>({
    url: "/offersUser/queryByName",
    method: "get",
    params
  })
}
